package com.example.flashsales;

import com.example.flashsales.Tools.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

@SpringBootApplication
@EnableScheduling
@Component
public class FlashSalesApplication {
    public static void main(String[] args) {
        SpringApplication.run(FlashSalesApplication.class, args);

    }


}
